package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IAcessoNoticiaDao;
import br.com.news.database.entities.AcessoNoticiaEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.AcessoNoticiaBean;
import br.com.news.utils.database.interfaces.IAcessoNoticiaService;

@Named
public class AcessoNoticiaService extends GenericService<AcessoNoticiaBean, AcessoNoticiaEntity, Long> implements IAcessoNoticiaService{

	@Inject
	private IAcessoNoticiaDao acessoNoticiaDao;

	@Override
	protected IGenericDao<AcessoNoticiaEntity, Long> getConcreteDao() {
		return this.acessoNoticiaDao;
	}

}
